
function btnclick(){
    let username=document.getElementById('username')
    let sex1=document.getElementById('sex1')

    let sex2=document.getElementById('sex2')

    console.log(username.value);
    let xx=sex1.Checked

    sex1.Checked=!xx
    sex2.Checked=xx
}